home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12087 < prev    next >
Encoding:
Text File  |  1996-08-05  |  904 b   |  27 lines

  1. Path: noc.netcom.net!news
  2. From: Tarang Deshpande <tarang@willows.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: BAD FILE NUMBER
  5. Date: Thu, 28 Mar 1996 14:01:21 -0800
  6. Organization: NETCOM Network Operations
  7. Message-ID: <315B0C31.6DF2@willows.com>
  8. References: <4j69oc$3pb@news.uni-c.dk>
  9. NNTP-Posting-Host: daffy.willows.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
  14.  
  15. peter S°rensen wrote:
  16. > The functions in the dll is to be used from paradox for windows.
  17. >         if ( ( fp = fopen("somefile","r")) == NULL)
  18. >                 ..... give an errormessage
  19.  
  20. Under windows you can not use fopen instead you have to use lopen or
  21. OpenFile.  Note you also can not use fread or fseek etc.; you have to
  22. use lread and lseek.  I forget but I think the "l" function have a
  23. preceeding "_"; so it might actually be _lopen.
  24.